<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<link rel="shortcut icon" href="/favicon.ico"> 
	<title><%= @title || "SocialPray" %></title>
	<%= stylesheet_link_tag 'reset', 'layout', 'style', 'prayer', 'buttalayer', 'round_box', 'answer', 'form', 'pagination' %>
	<%= javascript_include_tag 'prototype', 'effects', 'controls', 'dragdrop', 'zavascript', 'application' %>

	<%= javascript_include_tag 'inflection', 'zeffect', 'buttalayer', 'init' %>
</head>

<body>
	<div id="wrapper">
		<div id="dashboard">
			<%= render :partial => 'main/dashboard' %>
		</div>

		<div id="header">
			<div id="new_prayer">
				<%= render :partial => 'prayers/new' %>
			</div>
		</div>

		<div id="body">
			<div id="scroll_controller" class="clearfix">
				<div class="up scroll_keys">
					<a hidefocus="true" href="#" onclick="zScrollUp(ACTIVATED_CONTAINER_ID, STEP_Y);return false;"></a>
				</div>
				<div class="left scroll_keys">
					<a hidefocus="true" href="#" onclick="zScrollLeft(CONTAINER_WRAPPER_ID, STEP_X, detectCurrentContainer);return false;"></a>
				</div>
				<div class="right scroll_keys">
					<a hidefocus="true" href="#" onclick="zScrollRight(CONTAINER_WRAPPER_ID, STEP_X, detectCurrentContainer);return false;"></a>
				</div>
				<div class="down scroll_keys">
					<a hidefocus="true" href="#" onclick="zScrollDown(ACTIVATED_CONTAINER_ID, STEP_Y);return false;"></a>
				</div>
			</div>
			<%= yield  %>
		</div>

		<div id="footer">
			<div>
				<address>:members => { :errorist => :duecorda, :lazyist => :hiphapis}</address>
				<ul>
					<li><a href="http://code.google.com/p/socialpray">Code Home</a></li>
					<li><a href="#">Contact us</a></li>
				</ul>
			</div>
		</div>

	</div>

</body>
</html>
